export default defineNuxtPlugin((nuxtApp) => {
  //   nuxtApp.provide("hello", (name: string) => `Hello ${name}`);
  const foo = useFoo();
  return {
    provide: {
      hello: (name: string) => `Hello ${name}, Hi, ${foo.value}`,
    },
  };
});
